/* General Skills Section Styling */
.skills-content {
    text-align: center;
    color: #00ffff;
    justify-content: center;
    margin-top: 150px;
}

.empty {
    height: 100px;
}

.skills-title {
    font-size: 3rem;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 255, 225, 0.5), 0 0 10px rgba(0, 255, 225, 0.3);
    margin-bottom: 50px;
    margin-top: 200px;
}

/* Horizontal Alignment for Dropdown Buttons */
.dropdown-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

.dropdown {
    flex: 1 1 30%;
    max-width: 200px;
}

/* Dropdown Button Styling */
.dropdown-title {
    background: rgba(16, 20, 21, 0.8);
    backdrop-filter: sepia(20);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 225, 0.3);
    color: #00ffffd3;
    border: none;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    outline: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-family: "poiret-one", sans-serif;
}

.dropdown-title::after {
    content: '\25BC'; /* Unicode for downward arrow */
    font-size: 1rem;
    color: #00ffffd3;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown-title::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-title:hover {
    background-color: rgba(0, 0, 0, 1);
    text-shadow: 2px 2px 10px rgba(0, 255, 225, 0.5), 0 0 10px rgba(0, 255, 225, 0.3);
}

/* Dropdown List Styling */
.dropdown-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 10px 20px;
    background: rgba(16, 20, 21, 0.8);
    backdrop-filter: sepia(20);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 225, 0.3);
    color: #00ffff;
    border-radius: 5px;
    display: none;
}

.dropdown-list li {
    margin: 30px 0;
    font-size: 1.2rem;
    cursor: pointer;
}

.dropdown-list li:hover {
    text-shadow: 2px 2px 10px rgba(0, 255, 225, 0.5), 0 0 10px rgba(0, 255, 225, 0.3);
}

/* Open/Close Animation */
.dropdown.open .dropdown-list {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.dropdown-list {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .dropdown-title {
        font-size: 1rem;
    }

    .dropdown {
        flex: 1 1 30%;
        max-width: 100px;
    }

    .dropdown-title::after {
        font-size: .8rem;
        left: 80px;
    }

    .dropdown.open .dropdown-title::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .dropdown-list li {
        font-size: .8rem;
        margin: 20px 0;
    }

    .dropdown-container {
        gap: 50px;
    }
}
